package alfred.mdp.messages.worker;

import alfred.mdp.messages.ProtocolMessage;
import alfred.mdp.Majordomo;

/**
 * Heartbeat <br>
 * Frame 0: Empty frame, used only with XREQ sockets.
 * Frame 1: "MDPW01" (six bytes, representing MDP/Worker v0.1)
 * Frame 2: 0x04 (one byte, representing HEARTBEAT)
 */
public class Heartbeat extends ProtocolMessage {

    public Heartbeat() {
        super(
                Majordomo.EMPTY,
                Majordomo.PROTOCOL_WORKER_V,
                Majordomo.Worker.HEARTBEAT
        );
    }
}
